package com.modules.entity.project;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 项目配置表
 * </p>
 *
 * @author yyq
 * @since 2023-02-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("project_config")
@ApiModel(value="ConfigEntity对象", description="项目配置表")
public class ConfigEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "项目配置ID")
    @TableId(type= IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "人脸比对分数值")
    private String score;

    @ApiModelProperty(value = "平台上传校验账号")
    private String code;

    @ApiModelProperty(value = "平台上传校验密钥")
    private String pass;

    @ApiModelProperty(value = "初始激活码")
    private String activationCode;

    @ApiModelProperty(value = "上传类型：1白名单 2白名单和陌生人")
    private Integer uploadType;

    @ApiModelProperty(value = "每次分析通行记录数：默认30条")
    private Integer analysisCount;

    @ApiModelProperty(value = "每次上传通行记录数：默认100条")
    private Integer uploadCount;

    @ApiModelProperty(value = "拉取人员资料路径设置")
    private String urlPersonal;

    @ApiModelProperty(value = "拉取人员资料回调路径设置")
    private String urlPersonalCallback;

    @ApiModelProperty(value = "对平台发送心跳路径设置")
    private String urlHeartbeat;

    @ApiModelProperty(value = "通行记录上传平台路径设置")
    private String urlUploadRecord;

    @ApiModelProperty(value = "电脑序列号")
    private String macCode;

    @ApiModelProperty(value = "大屏名称")
    private String dataName;

    @ApiModelProperty(value = "大屏设置路径")
    private String dataUrl;

    @ApiModelProperty(value = "通行8条记录类型：1需要分析后显示 2直接显示不通过分析")
    private Integer dataRecordType;

    @ApiModelProperty(value = "门禁上传类型：1分析和门禁上传 2只分析上传 3只门禁上传 4不需要上传")
    private Integer inUploadType;

    @ApiModelProperty(value = "记录类型：1只要大头图 2只要背景图 3只要动态图 4 大头和背景图 5大头和动态图 6背景和动态图 7全都要")
    private Integer recordType;

    @ApiModelProperty(value = "定时删除：3超过三天、7超过七天、15超过半个月、30超过一个月、180超过半年、365超过一年")
    private Integer deleteDay;



}
